package com.nwcl.basic.dao;

import com.nwcl.basic.entity.UserRole;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author lgq
 * @description 针对表【user_role(用户角色表)】的数据库操作Mapper
 * @createDate 2023-05-30 11:07:04
 * @Entity .UserRole
 */
@Repository
public interface UserRoleDao {

    List<UserRole> listByUserId(@Param("userId") Integer userId);
}




